/**
 * 
 */
package fr.fermeManager.application.controllers;

import fr.fermeManager.application.utils.AppContext;
import fr.fermeManager.application.utils.Constantes;
import fr.fermeManager.application.views.ViewUserSelection;

/**
 * @author Mo
 * 
 */
public class ControllerUserSelection extends BaseController{
	
	public ControllerUserSelection() {
		
		// Affectation de la nouvelle vue
		AppContext.setBasePanel(new ViewUserSelection(this),false);
	}
	
	public void selectionnerUtilisateur(String userParam){
		
		AppContext.getSession().set(Constantes.USER, userParam);
		
		AppContext.setCurrentController(new ControllerFermeSelection());
		

	}

	@Override
	public void loadData() {
		// TODO Auto-generated method stub
	}
}
